/* 
 * Bitmain Tech, Home of Professional Bitmain Tech
 * Copyright 2014 Bitmain Tech Inc. and/or its affiliates and other contributors
 * as indicated by the @author tags. All rights reserved.
 * See the copyright.txt in the distribution for a
 * full listing of individual contributors.
 */
package com.bitmain.mmst.domain;

import com.bitmain.mmst.core.base.BasicDomain;

/**
 * 领域模型：检测失败的矿机信息
 *
 * @author Kweny - enkun.jiang@bitmain.com
 * @since 2015年12月11日
 *
 */
public class MinerDetectFailure extends BasicDomain {
	private static final long serialVersionUID = 3012061189835663470L;
	/**
	 * 机架ID
	 */
	private long minerShelfId;
	/**
	 * 矿机IP地址
	 */
	private String minerHost;
	/**
	 * 矿机端口
	 */
	private int minerPort;
	/**
	 * 矿机MAC地址
	 */
	private String minerMac;
	/**
	 * 能否ping通，true：能；false：不能；null：未执行ping命令
	 */
	private Boolean pingable;
	/**
	 * 能否获取MAC地址，true：能；false：不能；null：未执行获取MAC地址的命令
	 */
	private Boolean macable;
	/**
	 * 能否获取stats信息，true：能；false：不能；null：未执行获取stats信息的命令
	 */
	private Boolean statsable;
	/**
	 * 能否获取pools信息，true：能；false：不能；null：未执行获取pools信息的命令
	 */
	private Boolean poolsable;
	/**
	 * 能否获取summary信息，true：能；false：不能；null：未执行获取summary信息的命令
	 */
	private Boolean summaryable;
	/**
	 * 信息生成时间（检测时间）
	 */
	private long detectTime;

	// 关联查询的字段
	private String minerShelfName; // 机架名称
	private long minerAreaId; // 矿区ID
	private String minerAreaName; // 矿区名称

	/**
	 * @return the minerShelfId
	 */
	public long getMinerShelfId() {
		return minerShelfId;
	}

	/**
	 * @param minerShelfId
	 *            the minerShelfId to set
	 */
	public void setMinerShelfId(long minerShelfId) {
		this.minerShelfId = minerShelfId;
	}

	/**
	 * @return the minerHost
	 */
	public String getMinerHost() {
		return minerHost;
	}

	/**
	 * @param minerHost
	 *            the minerHost to set
	 */
	public void setMinerHost(String minerHost) {
		this.minerHost = minerHost;
	}

	/**
	 * @return the minerPort
	 */
	public int getMinerPort() {
		return minerPort;
	}

	/**
	 * @param minerPort
	 *            the minerPort to set
	 */
	public void setMinerPort(int minerPort) {
		this.minerPort = minerPort;
	}

	/**
	 * @return the minerMac
	 */
	public String getMinerMac() {
		return minerMac;
	}

	/**
	 * @param minerMac
	 *            the minerMac to set
	 */
	public void setMinerMac(String minerMac) {
		this.minerMac = minerMac;
	}

	/**
	 * @return the pingable
	 */
	public Boolean getPingable() {
		return pingable;
	}

	/**
	 * @param pingable
	 *            the pingable to set
	 */
	public void setPingable(Boolean pingable) {
		this.pingable = pingable;
	}

	/**
	 * @return the macable
	 */
	public Boolean getMacable() {
		return macable;
	}

	/**
	 * @param macable
	 *            the macable to set
	 */
	public void setMacable(Boolean macable) {
		this.macable = macable;
	}

	/**
	 * @return the statsable
	 */
	public Boolean getStatsable() {
		return statsable;
	}

	/**
	 * @param statsable
	 *            the statsable to set
	 */
	public void setStatsable(Boolean statsable) {
		this.statsable = statsable;
	}

	/**
	 * @return the poolsable
	 */
	public Boolean getPoolsable() {
		return poolsable;
	}

	/**
	 * @param poolsable
	 *            the poolsable to set
	 */
	public void setPoolsable(Boolean poolsable) {
		this.poolsable = poolsable;
	}

	/**
	 * @return the summaryable
	 */
	public Boolean getSummaryable() {
		return summaryable;
	}

	/**
	 * @param summaryable
	 *            the summaryable to set
	 */
	public void setSummaryable(Boolean summaryable) {
		this.summaryable = summaryable;
	}

	/**
	 * @return the detectTime
	 */
	public long getDetectTime() {
		return detectTime;
	}

	/**
	 * @param detectTime
	 *            the detectTime to set
	 */
	public void setDetectTime(long detectTime) {
		this.detectTime = detectTime;
	}

	/**
	 * @return the minerShelfName
	 */
	public String getMinerShelfName() {
		return minerShelfName;
	}

	/**
	 * @param minerShelfName
	 *            the minerShelfName to set
	 */
	public void setMinerShelfName(String minerShelfName) {
		this.minerShelfName = minerShelfName;
	}

	/**
	 * @return the minerAreaId
	 */
	public long getMinerAreaId() {
		return minerAreaId;
	}

	/**
	 * @param minerAreaId
	 *            the minerAreaId to set
	 */
	public void setMinerAreaId(long minerAreaId) {
		this.minerAreaId = minerAreaId;
	}

	/**
	 * @return the minerAreaName
	 */
	public String getMinerAreaName() {
		return minerAreaName;
	}

	/**
	 * @param minerAreaName
	 *            the minerAreaName to set
	 */
	public void setMinerAreaName(String minerAreaName) {
		this.minerAreaName = minerAreaName;
	}

}
